package com.example.erp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
public class AiApplication extends SpringBootServletInitializer {

	public static void main(String[] args) {
		SpringApplication.run(AiApplication.class, args);
		System.err.println("====== ai application started... ======");
	}

	@GetMapping("/home")
	public String home() {
		return "<h1>Hello World! Welcome to Spring Boot AI...</h1>";
	}
}
